setContentsPageNumbers Method
In This Topic
Sets the collection of page numbers.
The pairs in this collection specify a page and a number (or any string that can server as page number). If the page appears in the table of contents (because it contains a heading that is included in the table of contents), the corresponding page number will be displayed for the heading.
Syntax
public void setContentsPageNumbers(
java.util.HashMap<PDFPage,String>
)
|
Parameters
- value
- The page numbers to be displayed for the pages that appear in the table of contents.
See Also